package txt2bib.tagtypes;


public abstract class TagTypeCustom<E> {
	private String type;
	private E value;
	
	public void setType(String type) {
		this.type = type.toLowerCase();
	}
	public String getType() {
		return type;
	}
	public void setValue(E value) {
		this.value = value;
	}
	
	public E getValue() {
		return value;
	}
	
	public void init()
	{
		setType(this.getClass().getSimpleName());
	}
	@Override
	public String toString(){
		return getValue().toString();
	}
}
